<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="ww" uri="webwork" %>

<style>
	.uc_title {
		font-size: 16px;
		font-weight: 600;
	}
</style>
<form class="form-horizontal table-form" name="queryRegistUser" id="queryRegistUser" method="post" 
	action="dirRegistUserCount.action" onsubmit="return $action.query(this)">
	
	<div class="table-header">
		<div class="table-search">
			<ul>
				<li><span class="txt">查询年份：</span>
					<input class="Wdate" id="queryYear" name="queryYear" type="text" style="width: 100px;" 
						onclick="WdatePicker({dateFmt:'yyyy'})" value='<ww:property value="queryYear"/>'>
				</li>
			    <li>
			    	<ww:button css="btn green" caption="查询" type="submit"></ww:button>
			    </li>
			</ul>
		</div>
	</div>
	<label class="uc_title">总部用户状态统计表</label>
	<table class="table table-bordered">
		<thead>
			<tr>
				<ww:iterator value="headerTab" status="s">
					<th><ww:property value="headerTab[#s.index]" /></th>
				</ww:iterator>
			</tr>
		</thead>
		<tbody>
			<ww:iterator value="headerData" status="ss">
				<ww:set name="data" value="headerData[#ss.index]" /> 
				<tr>
					<td class="text-center"><ww:property value="#data[0]" /></td>
					<td class="text-center"><ww:property value="#data[1]" /></td>
				</tr>
			</ww:iterator>
		</tbody>
	</table>
	<label class="uc_title">下属企业用户状态统计表</label>
	<table class="table table-bordered">
		<thead>
			<tr>
				<ww:iterator value="subTab" status="s">
					<th><ww:property value="subTab[#s.index]" /></th>
				</ww:iterator>
			</tr>
		</thead>
		<tbody>
			<ww:iterator value="subData" status="ss">
				<ww:set name="data" value="subData[#ss.index]" /> 
				<tr>
					<td class="text-center"><ww:property value="#data[0]" /></td>
					<td class="text-center"><ww:property value="#data[1]" /></td>
				</tr>
			</ww:iterator>
		</tbody>
	</table>
	<div style="margin: 20px;">
		<%@ include file="registusercountbybar.jsp" %>
	</div>
</form>